<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="/admin/css/bootstrap.css" />
<link rel="stylesheet" type="text/css"
	href="/admin/css/bootstrap-responsive.css" />
<link rel="stylesheet" type="text/css" href="/admin/css/style.css" />
<script type="text/javascript" src="/admin/js/jquery2.js"></script>
<script type="text/javascript" src="/admin/js/jquery2.sorted.js"></script>
<script type="text/javascript" src="/admin/js/bootstrap.js"></script>
<script type="text/javascript" src="/admin/js/ckform.js"></script>
<script type="text/javascript" src="/admin/js/common.js"></script>

<style type="text/css">
body {font-size: 20px;
	padding-bottom: 40px;
	background-color: #e9e7ef;
}

.sidebar-nav {
	padding: 9px 0;
}

@media ( max-width : 980px) {
	/* Enable use of floated navbar text */
	.navbar-text.pull-right {
		float: none;
		padding-left: 5px;
		padding-right: 5px;
	}
}
</style>
</head>
<body>
	<form class="form-inline definewidth m20" action="{{url('/admin/catpost')}}" method="post">
		{!! csrf_field() !!}
		 <font color="#777777"><strong>栏目名称：</strong></font>
		  <input type="text"name="cat_name" id="menuname" class="abc input-default"placeholder="" value="">&nbsp;&nbsp;<br>
		  <font color="#777777"><strong>父级栏目：</strong></font>
		  <select name="cat_id">
			  <option value="0" checked="checked">&nbsp;父级栏目</option>
			  @foreach($cats as $c)
			    <option value="{{$c->cat_id}}">&nbsp;{{$c->cat_name}}</option>
				@endforeach
		</select><br>
		<button type="submit" class="btn btn-primary">添加栏目</button>
		&nbsp;&nbsp;
	</form>
</body>
</html>
